package BaseObject.innerClass;

/**
 * ClassName: NoNameClass
 * Package: BaseObject.innerClass
 * Description:
 *
 * @Author Linshio
 * @Create 2025/3/24 21:53
 */
public class NoNameClass {
    public static void main(String[] args) {
        f1(new AA() {
            @Override
            public void show() {
                System.out.println("Hello");
            }
        });
    }

    public static void f1(AA aa){
        aa.show();
    }
}

interface AA{
    void show();
}
